/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.List;

import com.itinsys.enma.domain.dto.SubjectDTO;

/**
 * @author pferraz
 *
 */
public class SubjectResponse extends Response{
	
	public static final int INSERT_ERROR = 4001;
	public static final int SUBJECT_NOT_FOUND = 4002;
	public static final int SUBJECT_EXISTS = 4003;
	
	private List<SubjectDTO> subjects;

	
	/**
	 * 
	 */
	public SubjectResponse() {
		init();
		getMessagesCode().put(INSERT_ERROR, "INSERT_ERROR");
		getMessagesCode().put(SUBJECT_NOT_FOUND, "SUBJECT_NOT_FOUND");
		getMessagesCode().put(SUBJECT_EXISTS, "CAREER_EXISTS");
	}


	public List<SubjectDTO> getSubjects() {
		return subjects;
	}


	public void setSubjects(List<SubjectDTO> subjects) {
		this.subjects = subjects;
	}

	
	
}
